package cn.gogpay.dcb.api.entity;

import cn.gogpay.dcb.h5base.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;

/**
 * 车辆信息
 *
 * @author jiaoming@gogpay.cn
 * @date 2019/11/12 18:49
 */
@Entity
public class Car extends BaseEntity {

    /**
     * police_move_car.car_info 表的id
     */
    private String carId;

    /**
     * 车牌号
     */
    @Column(columnDefinition = "varchar(255) comment '车牌号'", unique = true)
    private String carPlateNumber;

    /**
     * 车主人电话
     */
    private String carPlateContacts;

    /**
     * 车主电话
     */
    private String carPhoneNo;
    /**
     * 车主信息修改时间
     */
    private String carModifyTime;

    @Column(columnDefinition = "varchar(20) comment '来源 01 手动添加'")
    private String source;

    public String getCarId() {
        return carId;
    }

    public void setCarId(String carId) {
        this.carId = carId;
    }

    public String getCarPlateNumber() {
        return carPlateNumber;
    }

    public void setCarPlateNumber(String carPlateNumber) {
        this.carPlateNumber = carPlateNumber;
    }

    public String getCarPlateContacts() {
        return carPlateContacts;
    }

    public void setCarPlateContacts(String carPlateContacts) {
        this.carPlateContacts = carPlateContacts;
    }

    public String getCarPhoneNo() {
        return carPhoneNo;
    }

    public void setCarPhoneNo(String carPhoneNo) {
        this.carPhoneNo = carPhoneNo;
    }

    public String getCarModifyTime() {
        return carModifyTime;
    }

    public void setCarModifyTime(String carModifyTime) {
        this.carModifyTime = carModifyTime;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }
}
